<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="resources/pstyle.css" media="screen" />
<title>Pfefferspray und Cs-Gas im Shop kaufen!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<%@page import="pshop.servlet.ServletConstants"%>
<%@page import="pshop.*"%>
</head>
<body>
<%@ include file="resources/scripts/javascripts.jsp"%>
<div id="container">
<%@ include file="banner.jsp"%>
<%@ include file="resources/trennlinie.html"%>
  <div id="content">
<%
    Bestellung best = (Bestellung)request.getSession().getAttribute(ServletConstants.ATTR_BEST);
    Person pers = best.getKunde();
    Adresse adr = best.getAdresse();
%>
  
    <table style="width:100%"><td>
    <font style="font-size:120%;">Bitte best&auml;tigen Sie Ihre Bestellung</font>
    </td></table>

    <table cellpadding="20" style="text-align:left;" align="center">

    <td valign="top">
    <p style="font-size:120%;">Ihre Lieferdaten</p>
    <table>
    <tr>
     <td>Versand:</td>
     <td><%= best.getVersand() %></td>
    </tr>
    <tr>
    <td>Zahlungsart:</td>
    <td><%= best.getZahlart() %></td>
    </tr>
    <tr>
    <td>Ihre Daten:</td>
    </tr>
    <tr><td>Vorname:</td>
        <td><%= pers.getVorname() %></td></tr>
    <tr><td>Name:</td>
        <td><%= pers.getName() %></td></tr>
    <tr>
     <td>Stra&szlig;e</td>
     <td><%= adr.getStrasse() %></td>
          </tr>
          <tr>
          <td>Nr:</td>
          <td><%= adr.getNr() %></td>
          </tr>
    <tr>
     <td>Ort:</td>
     <td><%= adr.getOrt() %></td>
          </tr>
          <tr>
          <td>Plz:</td>
          <td><%= adr.getPlz() %></td>
    </tr>
    <tr>
    <td>Email:</td>
    <td><%= pers.getEmail() %></td>
    </tr>
    <tr>
    <td>Kommentar:</td>
    <td><%= best.getKommentar() %></td>
    </tr>
    </table></td>

    <td valign="top">
      <p style="font-size:120%;">Ihre Bestellung</p>
      <table cellspacing="16" align="center" style="text-align:right">
        <% for (Artikel atkl : wk.getArtikel()) { %>
        <tr>
          <td style="text-align:left"><%= atkl.getName() %></td>
          <td><%= atkl.getPreis() %> &euro;</td>
          <td>x <%= atkl.getAnzahl() %></td>
          <td style="text-align:right;padding-left:10px"><%= atkl.getPreis() * atkl.getAnzahl() %> &euro;</td>
        </tr>
        <%
            }
        %>
        <tr>
          <td></td>
          <td>Gesamt:</td>
          <td><%= wk.getAnzahlArtikel() %></td>
          <td style="text-align:right;padding-left:10px"><%= wk.getGesamtPreis() %> &euro;</td>
        </tr>
      </table>
    </td>

    </table>

    <p align="center"><a href="?<%=ServletConstants.PARAM_ACTION%>=<%=ServletConstants.PARAM_ACTION_SEND_ORDER%>" style="font-weight:bold;font-size:120%" onmouseover="status='Warenkorb';return true;" onmouseout="status='PfefferSprayShop.de          -Kaufen Sie Pfefferspray und Cs-gas zu Top-Preisen!-';" >Bestellung best&auml;tigen</a>
    <br/>
    <a href="?<%=ServletConstants.PARAM_ACTION%>=<%=ServletConstants.PARAM_ACTION_ORDER%>" onmouseover="status='Warenkorb';return true;" onmouseout="status='PfefferSprayShop.de          -Kaufen Sie Pfefferspray und Cs-gas zu Top-Preisen!-';">&auml;ndern</a></p>

    </div>
    <%@ include file="resources/trennlinie.html"%>
    <%@ include file="resources/footer.jsp"%>
</div>
<script type="text/javascript">_uacct = "UA-667991-1";urchinTracker();</script>
</body>
</html>
